#header {
  width: 100%;
  height: 270px;
  //background-color: red;
  video {
    width: 100%;
    position: absolute;
    z-index: 0;
  }
  .header-center {
    width: 1130px;
    height: 270px;
    //background-color: blue;
    margin: 0 auto;
    position: relative;
    .header-center-logo {
      width: 146px;
      height: 50px;
      position: absolute;
      top: 30%;
      left: 50%;
      margin-top: -25px;
      margin-left: -73px;
    }
    .header-center-input {
      width: 704px;
      height: 48px;
      //border: 1px solid red;
      position: absolute;
      top: 55%;
      left: 50%;
      margin-left: -352px;
    }
    .header-center-input-icon {
      width: 54px;
      height: 46px;
      border: 1px solid #fff;
      background-color: #fff;
      text-align: center;
      line-height: 46px;
      border-radius: 30px 0px 0px 30px;
      float: left;
      span {
        font-size: 28px;
        color: #666;
      }
    }
    .header-center-input-form {
      width: 565px;
      height: 44px;
      border: 1px solid #fff;
      float: left;
      color: #666;
      line-height: 46px;
      font-size: 20px;
    }
    .header-center-input-search {
      width: 76px;
      height: 46px;
      border: 1px solid #f76cb8;
      background-color: #f76cb8;
      float: left;
      color: #fff;
      text-align: center;
      line-height: 46px;
      font-size: 22px;
      border-radius: 0px 30px 30px 0px;
    }
    .header-center-input-search:hover {
      border: 1px solid #dd4197;
      background-color: #dd4197;
    }
  }
}

#nav {
  width: 100%;
  height: 57px;
  //background-color: aqua;
  border-top: 3px solid #f76cb8;
  /* 导航条下滑隐藏 */
  position: fixed;
  top:0;
  display: none;
  /* 调高层级 */
  z-index: 5;
  .nav-center {
    width: 100%;
    height: 57px;
    background-color: #ffffff;
    margin: 0 auto;
    .nav-center-logo {
      width: 127px;
      height: 43px;
      float: left;
      img {
        width: 90px;
        margin-top: 12px;
        margin-left: 40px;
      }
    }
    .nav-center-search {
      width: 210px;
      height: 32px;
      float: left;
      margin-top: 12.5px;
      margin-left: 20px;
      div {
        width: 32px;
        height: 32px;
        border: 1px solid #eee;
        border-radius: 15px 0px 0px 15px;
        background-color: #eee;
        text-align: center;
        line-height: 32px;
        font-size: 20px;
        color: #000;
        font-weight: 500;
        float: left;
      }
      input {
        width: 132px;
        height: 32px;
        float: left;
        border: none;
        background-color: #eee;
      }
      .radius {
        border-radius: 0px 15px 15px 0px;
      }
    }
    /* 首页 消息 个人 设置 */
    .nav-center-four {
      width: 580px;
      height: 57px;
      float: left;
      div {
        width: 110px;
        height: 55px;
        text-align: center;
        line-height: 57px;
        font-size: 30px;
        float: left;
      }
      div:nth-child(1) {
        color: #f76cb8;
        border-bottom: 2px solid #f76cb8;
      }
      div:hover {
        color: #f76cb8;
      }
    }
    /* 登录 注册 */
    .nav-center-rightFour {
      width: 282px;
      height: 30px;
      margin-top: 13px;
      float: left;
      div {
        float: left;
      }
      .nav-center-login {
        width: 60px;
        height: 30px;
        background-color: #f76cb8;
        border-radius: 15px;
        text-align: center;
        line-height: 30px;
        color: #fff;
      }
      .nav-center-register {
        width: 60px;
        height: 30px;
        //background-color: #f76cb8;
        border-radius: 15px;
        text-align: center;
        line-height: 30px;
        color: #ccc;
      }
      .nav-center-sun {
        width: 30px;
        height: 30px;
        font-size: 15px;
        text-align: center;
        line-height: 30px;
        margin-left: 20px;
        color: #000;
        background-color: #eee;
        border-radius: 50%;
      }
      .nav-center-liyan {
        width: 30px;
        height: 30px;
        font-size: 23px;
        text-align: center;
        line-height: 30px;
        margin-left: 20px;
        color: #fff;
        background-color: #f76cb8;
        border-radius: 50%;
      }
    }
    /* 无障碍 */
    .nav-center-barrier {
      width: 60px;
      height: 30px;
      font-size: 15px;
      border-radius: 15px;
      text-align: center;
      line-height: 30px;
      color: #000;
      background-color: #eee;
      margin-top: 13px;
      float: left;
    }
  }
}

#main {
  width: 100%;
  height: 1000px;
  background-color: #f5f5f5;
  .main-center {
    width: 1340px;
    height: 1000px;
    background-color: #f5f5f5;
    margin: 0 auto;
    .main-left {
      width: 172px;
      height: 1000px;
      background-color: #fff;
      float: left;
      margin-left: 100px;
      div {
        width: 172px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
        margin-top: 15px;
        img {
          width: 40px;
          height: 40px;
          line-height: 40px;
          //text-align: center;
          //display: inline-block;
          float: left;
        }
        span {
          //display: inline-block;
          text-align: center;
          line-height: 40px;
          float: left;
          margin-left: 5px;
          font-weight: bold;
        }
      }
      div:nth-child(1) {
        //margin-top: 20px;
        color: #f76cb8;
      }
      div:hover {
        background-color: #eee;
        cursor: pointer;
      }
    }
    .main {
      width: 650px;
      height: 1000px;
      //background-color: yellow;
      float: left;
      margin-left: 15px;
      .main-title {
        width: 650px;
        height: 180px;
        background-color: #fff;
        border-radius: 5px;
        margin-top: 1px;
        .main-title-word {
          width: 400px;
          float: left;
          margin-left: 5px;
          .title-name {
            margin-top: 10px;
            font-size: 23px;
          }
          .title-from {
            margin-top: 40px;
            font-size: 13px;
            color: #666;
          }
        }
        .main-title-img {
          width: 200px;
          float: left;
          margin-left: 5px;
          img {
            margin-top: 10px;
            border-radius: 5px;
          }
        }
      }
    }
    /* 主体右边栏 :登录侧边栏  */
    .main-right {
      width: 290px;
      height: 1000px;
      //background-color:#fff;
      float: right;
      margin-right: 100px;
      .main-right-top {
        width: 290px;
        height: 184px;
        border-radius: 5px;
        background: url(../images/main-right-top.jpg);
        background-size: cover;
        padding: 0px;
        position: absolute;
       
        /* img {
          width: 290px;
          height: 184px;
          border-radius: 5px;
        } */
        .login {
          width: 160px;
          height: 34px;
          background-color: #f76cb8;
          color: #fff;
          font-weight: bold;
          border-radius: 25px;
          text-align: center;
          line-height: 34px;
          margin-left: 65px;
          margin-top: 50px;
        }
        .login:hover {
          background-color: #dd4197;
          cursor: pointer;
        }
        .register {
          width: 160px;
          height: 20px;
          color: #666;
          font-size: 14px;
          margin-top: 30px;
          margin-left: 75px;
          a {
            color: #f76cb8;
          }
        }
      }
      .main-right-left {
        width: 290px;
        height: 500px;
        margin-top: 190px;
        img {
          width: 290px;
          border-radius: 5px;
        }
      }
    }
  }
}
